﻿using System.Collections.Generic;

namespace Eneta.Portal.Common.Dto
{
    /// <summary>
    /// Class for forum categories.
    /// </summary>
    public class ForumCategoryDto : BaseDto
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ForumCategoryDto"/> class.
        /// </summary>
        public ForumCategoryDto()
        {
            Forums = new List<ForumDto>();
        }

        /// <summary>
        /// Gets or sets the list of forums that are grouped under this category.
        /// </summary>
        public IList<ForumDto> Forums { get; internal set; }

        /// <summary>
        /// Gets or sets the feed burner URL for category.
        /// </summary>
        public string FeedBurnerUrl { get; internal set; }
    }
}
